Quantcast
Channel: AMD Developer Forums: Message List - OpenGL & Vulkan
Viewing all articles
Browse latest Browse all 631

Re: textureProj() and textureProjOffset() not working using latest HD 5800 driver

$
0
0

hi marcus,

 

i tested following shader, with latest catalyst driver:

 

// Fragment Shader

#version 440 compatibility

 

uniform sampler2D s_texture_1;

out vec4 s_frag_color;

 

void main()

{

  vec4 v1 = textureProj(s_texture_1, vec3(0.5, 0.5, 0.5));

  v1 += textureProjOffset(s_texture_1, vec3(0.5, 0.5, 0.5), ivec2(1, 1));

  s_frag_color = v1;

}

// end of GLSL

 

no error was observed.

 

as you can see here:

OpenGL 4 Reference Pages

 

textureProj & textureProjOffset are not deprecated.

 

so, can you share your shader that generates error?

so that i can reproduce your issue.

 

thank you.

 

regards

davy


Viewing all articles
Browse latest Browse all 631

Trending Articles