summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/tgsi/tgsi_build.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2012-05-11 13:41:56 +0100
committerJosé Fonseca <[email protected]>2012-05-11 14:37:00 +0100
commit96956dc5076fc03b9290368ca90e3f3b870ee613 (patch)
tree76872d0f47d019c2c7e299b6fd74139c472e329a /src/gallium/auxiliary/tgsi/tgsi_build.c
parent223831ca146bc3aca615542794a7c3800ccbcc6f (diff)
gallium/tgsi: s/TGSI_BUFFER/TGSI_TEXTURE_BUFFER/
For consistency. Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/tgsi/tgsi_build.c')
-rw-r--r--src/gallium/auxiliary/tgsi/tgsi_build.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/tgsi/tgsi_build.c b/src/gallium/auxiliary/tgsi/tgsi_build.c
index 869faa1b420..1c24b9bdbed 100644
--- a/src/gallium/auxiliary/tgsi/tgsi_build.c
+++ b/src/gallium/auxiliary/tgsi/tgsi_build.c
@@ -259,7 +259,7 @@ tgsi_default_declaration_resource(void)
{
struct tgsi_declaration_resource dr;
- dr.Resource = TGSI_BUFFER;
+ dr.Resource = TGSI_TEXTURE_BUFFER;
dr.Raw = 0;
dr.Writable = 0;
@@ -290,7 +290,7 @@ tgsi_default_declaration_sampler_view(void)
{
struct tgsi_declaration_sampler_view dsv;
- dsv.Resource = TGSI_BUFFER;
+ dsv.Resource = TGSI_TEXTURE_BUFFER;
dsv.ReturnTypeX = PIPE_TYPE_UNORM;
dsv.ReturnTypeY = PIPE_TYPE_UNORM;
dsv.ReturnTypeZ = PIPE_TYPE_UNORM;